package com.sidom.movieIndexer.service.file;

import java.util.List;
import java.util.Set;

import com.sidom.movieIndexer.domain.Movie;

/**
 * The high-level File business interface.
 *
 * <p>This interfaces can get files from a certain location.
 *
 * @author Siebe
 */
public interface FileService {
	/**
	 * Get the video files in a provided directory.
	 * @param path The path to search for video files.
	 * @param extensions A {@link Set} of {@link String}s with extensions e.g avi or avi,mp4,...
	 * @return A {@link List} of {@link Movie}s in that path
	 */
	List<Movie> getVideoFiles(String path, Set<String> extensions);
}
